/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __PQ_Builder_H__
#define __PQ_Builder_H__

#include "MainWindow.h"
#include <QtGui/QApplication>

namespace PQBuilder
{
	class Builder
	{
	protected:
		Builder();
	public:
		~Builder();
		static Builder& getSingleton();
		void init(int argc, char **argv);
		void run();

		void loadProject(QString name);

	private:
		void initStyleSheet();
		void initLanguage();
		void initSplashScreen();
	private:
		QApplication* _application;
		MainWindow* _mainWindow;

	};
}


#endif
